import React from 'react';
import {View, Text, Button, TouchableOpacity} from 'react-native';
import {StackNavigator} from 'react-navigation';

import Main from '../page/main2';
import Mine from '../page/main2/mine';
import Order from '../page/order';
import Product from '../page/product';
import ProductAdd from '../page/product/productAdd';
import ProductCategory from '../page/product/productCategory';
import Ticket from '../page/ticket/ticket';
import TicketAdd from '../page/ticket/ticketAdd';
import Income from '../page/income/income';
import IncomeMyAccount from '../page/income/MyAccount';
import IncomeAccountEdit from '../page/income/AccountEdit';
import IncomeApplyCrash from '../page/income/ApplyCrash';
import IncomeApplyRecord from '../page/income/applyRecord';
import IncomeTransationList from '../page/income/transationList';
import Message from '../page/message/MessageMain';
import UserEdit from '../page/my';
import Shop from '../page/shop/shop';
import Login from '../page/login';
import ShopComplete from '../page/shop/shopcomplete';
import Register from '../page/register';
import Property from '../page/product/productProperty';
import ProductBrand from '../page/product/productBrand';
import Standards from '../page/product/productStandards';
import EditStandard from '../page/product/StandardEdit';
import ProductDetail from '../page/product/productDetail';
import ShopAuth from '../page/shopAuth/shopAuth';
import IdentityCard from '../page/shopAuth/identityCard';
import BusinessLicense from '../page/shopAuth/businessLicense';
import ChooseBank from '../page/income/chooseBank';
import Logistics from '../page/order/logistics';

const AppNavigator = StackNavigator({
    Home: {
        screen: Main,
    },
    Mine: {
        screen: Mine,
    },
    Order: {
        screen: Order,
    },
    product: {
        screen: Product,
    },
    ProductAdd: {
        screen: ProductAdd,
    },
    ProductCategory: {
        screen: ProductCategory,
    },
    ProductBrand: {
        screen: ProductBrand
    },
    ticket: {
        screen: Ticket,
    },
    ticketAdd: {
        screen: TicketAdd,
    },
    income: {
        screen: Income,
    },
    message: {
        screen: Message,
    },
    userEdit: {
        screen: UserEdit,
    },
    shop: {
        screen: Shop
    },
    login: {
        screen: Login
    },
    myaccount: {
        screen: IncomeMyAccount,
    },
    applycrash: {
        screen: IncomeApplyCrash,
    },
    accountedit: {
        screen: IncomeAccountEdit
    },
    applyrecord: {
        screen: IncomeApplyRecord
    },
    transationList: {
        screen: IncomeTransationList
    },
    shopComplete: {
        screen: ShopComplete
    },
    Register: {
        screen: Register
    },
    Property: {
        screen: Property
    },
    Standards: {
        screen: Standards
    },
    EditStandard: {
        screen: EditStandard
    },
    ProductDetail: {
        screen: ProductDetail
    },
    shopAuth: {
        screen: ShopAuth
    },
    identityCard: {
        screen: IdentityCard
    },
    businessLicense: {
        screen: BusinessLicense
    },
    ChooseBank: {
        screen: ChooseBank
    },
    logistics: {
        screen: Logistics
    }
});

export default AppNavigator;